@ercworldio/blockchain-shared 1.0.5-dev.7-PROJ-1469.16 → 1.0.5-dev.7-PROJ-1469.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,7 @@ export interface TreasurySignatureInput {
|
|
|
16
16
|
* Builds the UTF-8 approval message a treasury signer approves. MUST match the program's
|
|
17
17
|
* `build_withdrawal_message` byte for byte, or verification fails.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* Withdrawal Approval
|
|
20
20
|
* Version: 1
|
|
21
21
|
* Chain: <chainId>
|
|
22
22
|
* Request: <requestId>
|
|
@@ -12,7 +12,7 @@ const bs58_1 = __importDefault(require("bs58"));
|
|
|
12
12
|
* Builds the UTF-8 approval message a treasury signer approves. MUST match the program's
|
|
13
13
|
* `build_withdrawal_message` byte for byte, or verification fails.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* Withdrawal Approval
|
|
16
16
|
* Version: 1
|
|
17
17
|
* Chain: <chainId>
|
|
18
18
|
* Request: <requestId>
|
|
@@ -25,7 +25,7 @@ const bs58_1 = __importDefault(require("bs58"));
|
|
|
25
25
|
* the signature; bump Version in lockstep with the program on any format change.
|
|
26
26
|
*/
|
|
27
27
|
function buildWithdrawalApprovalMessage(params) {
|
|
28
|
-
const text = "
|
|
28
|
+
const text = "Withdrawal Approval\n" +
|
|
29
29
|
"Version: 1\n" +
|
|
30
30
|
`Chain: ${params.chainId}\n` +
|
|
31
31
|
`Request: ${params.requestId}\n` +
|
package/package.json
CHANGED