[bisq-network/bisq] Fix bug with seed restore and open offers (#4507)

Stan notifications at github.com
Thu Sep 10 16:49:29 UTC 2020


ACK

My dev/regtest/dao mode test scenarios:

1)  1 Open Offer (not taken), reserved + available = total  ->  0.1150 + 209.88462285 = 209.99962285

	Shutdown, forget password, and restore from seed at startup.
	
	Did I see warning msg about removing offers when restoring?  Yes (open offers will be removed)
	
	Is available balance now 209.99962285 ? reserve = 0 ?		Yes and Yes
	
	Has offer been removed?	Yes
		
2)  6 Open Offers (none taken), 3 sell, 3 buy
	
	reserved + available = total  ->  0.2730 + 209.72422459 = 209.99722459

	Shutdown, forget password, and restore from seed at startup.
	
	Did I see warning msg about removing offers when restoring?  Yes (open offers will be removed)
	
	Is available balance now 209.99722459 ? reserve = 0 ?		Yes and Yes
	
	Offers been removed?	Yes
	
3)  1 Open Trade (payment not started) reserved + locked + available = total  ->  0 + 0.1150 + 209.88185154 = 209.99685154

	Shutdown, forget password, and restore from seed at startup.
	
	Did I see warning msg about removing offers when restoring?  No
	
	Is available balance now 209.99685154 ? reserve = 0 locked = 0.1150 ?		Yes and Yes and Yes
	
	Does Open Trade still exist? Yes
	
4)  1 Open Trade (payment started)    reserved + locked + available = total  ->  0 + 0.1150 + 209.88185154 = 209.99685154

	Shutdown, forget password, and restore from seed at startup.
	
	Did I see warning msg about removing offers when restoring?  No
	
	Is available balance now 209.99685154 ? reserve = 0 locked = 0.1150 ?  Yes and Yes and Yes
	
	Does Open Trade still exist? Yes


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4507#issuecomment-690491320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200910/141691fb/attachment.html>


More information about the bisq-github mailing list