openbazaar-go icon indicating copy to clipboard operation
openbazaar-go copied to clipboard

EscrowTimeoutHours should be set to 1 on testnet

Open rmisio opened this issue 5 years ago • 0 comments
trafficstars

When saving a listing, if metadata.EscrowTimeoutHours is not provided, the server will default it. But, it's defaulting it to 1080 regardless of whether we're on testnet or mainnet.

The problem with that is the timeout notifications are hard-coded on testnet to work off of 1 hour and you end up getting notifications inconsistent with the EscrowTimeoutHours setting in the contract, which is what the UI believes the timeout is.

Expectation: If an metadata.EscrowTimeoutHours is not provided when saving a listing on testnet, the server will default it to 1.

rmisio avatar Dec 23 '19 21:12 rmisio