File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
api-server-common/src/storage/impls/in_memory Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -822,6 +822,8 @@ impl ApiServerInMemoryStorage {
822
822
Ok ( ( ) )
823
823
}
824
824
825
+ // The NFT owner is updated in both cases when it is spent as an input and transfered or
826
+ // created as an output. When the amount is 0 we set the owner to None as in the case of a Burn
825
827
fn update_nft_owner (
826
828
& mut self ,
827
829
coin_or_token_id : CoinOrTokenId ,
Original file line number Diff line number Diff line change @@ -514,5 +514,6 @@ pub fn order_to_json(
514
514
"ask_currency" : coins_or_token_to_json( & order. ask_currency, chain_config) ,
515
515
"initially_asked" : amount_to_json( order. initially_asked, ask_currency_decimals) ,
516
516
"ask_balance" : amount_to_json( order. ask_balance, ask_currency_decimals) ,
517
+ "nonce" : order. next_nonce,
517
518
} )
518
519
}
You can’t perform that action at this time.
0 commit comments