Skip to content

Commit 2dba3d6

Browse files
chore(utxo-core): updated JSDocs
Ticket: BTC-2235 TICKET: BTC-2235
1 parent 4da473a commit 2dba3d6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

modules/utxo-core/src/paygo/trimMessagePrefix.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import * as utxolib from '@bitgo/utxo-lib';
22

33
/** We receive a proof in the form:
44
* 0x18Bitcoin Signed Message:\n<varint_length><ENTROPY><ADDRESS><UUID>
5-
* and when verifying our message we want to exclude the 0x18Bitcoin Signed Message:\n<varint_length>
6-
* of the proof so that we are left with the entropy address and uuid as our message.
7-
* This is what we are going to be verifying.
5+
* and trims the 0x18Bitcoin Signed Message:\n<varin_length> and returns
6+
* our message <ENTROPY><ADDRESS><UUID> in a Buffer.
87
*
98
* @param proof
109
* @returns

modules/utxo-core/test/paygo/psbt/payGoAddressProof.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ describe('getPaygoAddressProofIndex', () => {
135135
});
136136
});
137137

138-
// Small test to verify, leave in this test file
139138
describe('trimMessagePrefix', function () {
140139
it('should be the same proof constructed consistently', function () {
141140
const psbt = getTestPsbt();

0 commit comments

Comments
 (0)