fixed update witness operation - added new_initial_secret
This commit is contained in:
parent
42cd0a6fb1
commit
017d37ed6b
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ void_result witness_update_evaluator::do_apply( const witness_update_operation&
|
|||
wit.url = *op.new_url;
|
||||
if( op.new_signing_key.valid() )
|
||||
wit.signing_key = *op.new_signing_key;
|
||||
if( op.new_initial_secret.valid() )
|
||||
wit.next_secret_hash = *op.new_initial_secret;
|
||||
});
|
||||
return void_result();
|
||||
} FC_CAPTURE_AND_RETHROW( (op) ) }
|
||||
|
|
|
|||
Loading…
Reference in a new issue