mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-15 18:15:49 +00:00
13 lines
284 B
JavaScript
13 lines
284 B
JavaScript
/* @flow */
|
|
'use strict' // eslint-disable-line strict
|
|
const assert = require('assert')
|
|
|
|
function parseOrderCancellation(tx: Object): Object {
|
|
assert(tx.TransactionType === 'OfferCancel')
|
|
return {
|
|
orderSequence: tx.OfferSequence
|
|
}
|
|
}
|
|
|
|
module.exports = parseOrderCancellation
|