Skip to content

Fix WitnessSetPropertiesOperation schema

Mateusz Żebrak requested to merge mzebrak/fix into master

There was a typo sbd instead of hbd which caused:

ValidationError: 2 validation errors for JSONRPCResult[GetAccountHistoryModel[Hf26ApiOperationObject, Hf26ApiVirtualOperationObject]]
result -> history -> 0 -> 1 -> op -> WitnessSetPropertiesHF26OperationRepresentation -> value -> props -> 0 -> 0
  unexpected value; permitted: 'account_creation_fee', 'account_subsidy_budget', 'account_subsidy_decay', 'key', 'maximum_block_size', 
'new_signing_key', 'sbd_exchange_rate', 'sbd_interest_rate', 'url' (type=value_error.const; given=hbd_exchange_rate; 
permitted=('account_creation_fee', 'account_subsidy_budget', 'account_subsidy_decay', 'key', 'maximum_block_size', 'new_signing_key', 
'sbd_exchange_rate', 'sbd_interest_rate', 'url'))

Ft.: clive#268 (closed)

Merge request reports

Loading