mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 14:22:39 +01:00
updated tests as per c8eaf6f5ee
This commit is contained in:
parent
6d4e8d1547
commit
b5ae50b316
2 changed files with 2 additions and 3 deletions
|
@ -841,8 +841,7 @@ class NormalStateSpec extends StateSpecBaseClass with StateTestsHelperMethods {
|
|||
// TODO: for now the punishment tx only consumes bob's main delayed output
|
||||
assert(punishTx.txIn.size == 1)
|
||||
assert(punishTx.txOut.size == 1)
|
||||
// TODO: should be updated when fees are implemented
|
||||
assert(punishTx.txOut(0).amount == Satoshi(200000))
|
||||
assert(punishTx.txOut(0).amount == Satoshi(195284))
|
||||
awaitCond(alice.stateName == CLOSING)
|
||||
assert(alice.stateData.asInstanceOf[DATA_CLOSING].revokedCommitPublished.size == 1)
|
||||
|
||||
|
|
|
@ -400,7 +400,7 @@ class ShutdownStateSpec extends StateSpecBaseClass with StateTestsHelperMethods
|
|||
assert(punishTx.txIn.size == 1)
|
||||
assert(punishTx.txOut.size == 1)
|
||||
// TODO: should be updated when fees are implemented
|
||||
assert(punishTx.txOut(0).amount == Satoshi(200000))
|
||||
assert(punishTx.txOut(0).amount == Satoshi(195284))
|
||||
awaitCond(alice.stateName == CLOSING)
|
||||
assert(alice.stateData.asInstanceOf[DATA_CLOSING].revokedCommitPublished.size == 1)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue