@ledgerhq/coin-canton
Version:
9 lines • 515 B
JavaScript
import { updateTransaction as defaultUpdateTransaction } from "@ledgerhq/ledger-wallet-framework/bridge/jsHelpers";
// NOTE: this method is optional, use defaultUpdateTransaction
// acts as a middleware to update the transaction patch object
// NOTE: here is an example transaction updater function
// in this case, it resets fee to null depending on the patch content
export const updateTransaction = (tx, patch) => {
return defaultUpdateTransaction(tx, patch);
};
//# sourceMappingURL=updateTransaction.js.map