vechain/thor-devkit.js

sendRawTransaction Error: Bad Request

logan059 opened this issue · 1 comments

自签名交易时发生错误:

Transaction body= {
chainTag: 0xc7,
blockRef: '0x0000000000000000',
expiration: 20,
clauses: clauses,
gasPriceCoef: 128,
gas: gas,
dependsOn: null,
nonce: new Date().getTime(),
}

返回错误信息如下:
Response body: "body: rlp: non-canonical integer (leading zero bytes) for uint64, decoding into (*tx.Transaction)(tx.body).BlockRef"

求教原因 ?

same as #1

#1,已解决