boltlabs-inc / zeekoe

Zero-knowledge layer-2 payment channels
MIT License
24 stars 1 forks source link

Cust close on 0 balance fails #279

Closed DariusParvin closed 2 years ago

DariusParvin commented 2 years ago

When the customer tries close on a 0 balance, it fails and the channel status gets stuck as pending_expiry. There's no operation on chain and the contract's status is still Open.

Nothing is returned on the close command:

$ ./target/debug/zkchannel customer --config "./dev/Customer-testnet.toml"     close "my-zkchannel-1" --force
$