support alph
This commit is contained in:
@@ -484,7 +484,7 @@ class ALPHRPCNode extends HttpNode {
|
||||
for(let item of fixedOutputs){
|
||||
const {attoAlphAmount, address } = item
|
||||
if(address === REPORT_ADDRESS){
|
||||
return {height, hash: block_hash, time:Math.trunc(timestamp / 1000), block_reward: Number(attoAlphAmount), block_fees: null };
|
||||
return {height, hash: block_hash, time:Math.trunc(timestamp / 1000), block_reward: BigInt(attoAlphAmount), block_fees: null };
|
||||
}
|
||||
}
|
||||
// if(fixedOutputs.length === 1){
|
||||
|
||||
Reference in New Issue
Block a user