ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
61 stars 37 forks source link

Fix issues with buyback offchain #327

Closed kushti closed 6 months ago

kushti commented 7 months ago

new_without_reward_token in BuybackBoxWrapper takes only buyback NFT , but in fact at least 1 GORT token should be taken as well

also, creation_height: self.ergo_box.creation_height is not proper in this method, creation height should be increased (passed to the method likely).

Calling code in refresh.rs should be modified accordingly