add test case for get transaction of types

suspendedPaymentExecution, suspendedPaymentCancellation, suspendedPaymentCreation
This commit is contained in:
Ivan Tivonenko
2015-11-17 04:12:57 +02:00
parent a602d4d73d
commit f146ea05c7
21 changed files with 535 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ module.exports = {
complex: require('./prepare-trustline')
},
sign: require('./sign'),
signSuspended: require('./sign-suspended.json'),
getPaths: {
normal: require('./getpaths/normal'),
UsdToUsd: require('./getpaths/usd2usd'),

View File

@@ -2,6 +2,6 @@
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
"suspensionSequence": 1234,
"method": 1,
"digest": "8F434346648F6B96DF89DDA901C5176B10A6D83961DD3C1AC88B59B2DC327AA4",
"proof": "whatever"
"digest": "712C36933822AD3A3D136C5DF97AA863B69F9CE88B2D6CE6BDD11BFDE290C19D",
"proof": "this must have 32 characters...."
}

View File

@@ -0,0 +1,8 @@
{
"txJSON": "{\"TransactionType\":\"SuspendedPaymentFinish\",\"Account\":\"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh\",\"Owner\":\"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh\",\"OfferSequence\":2,\"Method\":1,\"Digest\":\"712C36933822AD3A3D136C5DF97AA863B69F9CE88B2D6CE6BDD11BFDE290C19D\",\"Proof\":\"74686973206D757374206861766520333220636861726163746572732E2E2E2E\",\"Flags\":2147483648,\"LastLedgerSequence\":102,\"Fee\":\"12\",\"Sequence\":1}",
"instructions": {
"fee": "0.000012",
"sequence": 1,
"maxLedgerVersion": 102
}
}