mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
12 lines
231 B
JavaScript
12 lines
231 B
JavaScript
'use strict';
|
|
const assert = require('assert');
|
|
|
|
function parseOrderCancellation(tx) {
|
|
assert(tx.TransactionType === 'OfferCancel');
|
|
return {
|
|
orderSequence: tx.OfferSequence
|
|
};
|
|
}
|
|
|
|
module.exports = parseOrderCancellation;
|