1
0
Fork 0
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:
pm47 2017-01-17 19:25:43 +01:00
parent 6d4e8d1547
commit b5ae50b316
2 changed files with 2 additions and 3 deletions

View file

@ -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)

View file

@ -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)
}