fix(generateSendOpReturn): Fixed poorly written integration test

This commit is contained in:
Chris Troutner
2021-01-07 16:30:12 -08:00
parent bdde3a271d
commit 7e3a447973
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1896,7 +1896,8 @@ class Slp {
})
}
console.log(`sendQty: ${JSON.stringify(sendQty, null, 2)}`)
// console.log('sendQty: ', sendQty)
// console.log(`tokenUtxos: `, tokenUtxos)
const opReturn = await _this.bchjs.SLP.TokenType1.generateSendOpReturn(
tokenUtxos,
sendQty
+2 -2
View File
@@ -110,8 +110,8 @@ describe('#slp', () => {
req.body.tokenUtxos = [
{
tokenId:
'0a321bff9761f28e06a268b14711274bb77617410a16807bd0437ef234a072b1',
decimals: 0,
'38e97c5d7d3585a2cbf3f9580c82ca33985f9cb0845d4dcce220cb709f9538b0',
decimals: 8,
tokenQty: 2
}
]