mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 05:05:48 +00:00
add DestinationNode definition
This commit is contained in:
@@ -22,7 +22,8 @@ const Escrow = {
|
||||
},
|
||||
finish: {
|
||||
tx: require('./fixtures/escrow-finish-tx.json'),
|
||||
binary: require('./fixtures/escrow-finish-binary.json')
|
||||
binary: require('./fixtures/escrow-finish-binary.json'),
|
||||
meta: require('./fixtures/escrow-finish-meta-binary.json')
|
||||
},
|
||||
cancel: {
|
||||
tx: require('./fixtures/escrow-cancel-tx.json'),
|
||||
@@ -142,6 +143,8 @@ function EscrowTest() {
|
||||
it('can serialize EscrowFinish', () => {
|
||||
assert.strictEqual(encode(Escrow.finish.tx),
|
||||
Escrow.finish.binary);
|
||||
assert.strictEqual(encode(Escrow.finish.tx.meta),
|
||||
Escrow.finish.meta);
|
||||
});
|
||||
it('can serialize EscrowCancel', () => {
|
||||
assert.strictEqual(encode(Escrow.cancel.tx),
|
||||
|
||||
Reference in New Issue
Block a user