Skip to content

Commit a077ce1

Browse files
committed
Change Buffer usage to base64ToBytes
1 parent 2fb824c commit a077ce1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/cucumber/steps/steps.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4883,10 +4883,7 @@ module.exports = function getSteps(options) {
48834883
} else if (avmType === 'bytes') {
48844884
assert.equal(avmValue.type, 1);
48854885
assert.ok(avmValue.bytes);
4886-
assert.deepEqual(
4887-
avmValue.bytes,
4888-
makeUint8Array(Buffer.from(value, 'base64'))
4889-
);
4886+
assert.deepEqual(avmValue.bytes, algosdk.base64ToBytes(value));
48904887
} else {
48914888
assert.fail('avmType should be either uint64 or bytes');
48924889
}

0 commit comments

Comments
 (0)