paych: Print available amounts in paych status

This commit is contained in:
Łukasz Magiera
2022-01-20 18:16:00 +01:00
parent 7a938b2dea
commit 8f6f21c94c
4 changed files with 10 additions and 0 deletions
+4
View File
@@ -854,6 +854,10 @@ type ChannelAvailableFunds struct {
ConfirmedAmt types.BigInt
// PendingAmt is the amount of funds that are pending confirmation on-chain
PendingAmt types.BigInt
// AvailableAmt is part of ConfirmedAmt that is available for use (pre-allocated)
AvailableAmt types.BigInt
// PendingAvailableAmt is the amount of available funds that are pending confirmation on-chain
PendingAvailableAmt types.BigInt
// PendingWaitSentinel can be used with PaychGetWaitReady to wait for
// confirmation of pending funds
PendingWaitSentinel *cid.Cid