HomePhabricator

[faucet] Convert amounts from bigint to number for json serialization

Description

[faucet] Convert amounts from bigint to number for json serialization

Summary: The amount is guaranteed to fit into a Number and the json serialization don't know how to serialize a BigInt by default.

Test Plan: Trivial

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D18768

Details

Provenance
FabienAuthored on Oct 8 2025, 09:06
FabienPushed on Oct 8 2025, 09:57
Reviewer
Restricted Project
Differential Revision
D18768: [faucet] Convert amounts from bigint to number for json serialization
Parents
rABC061fc0e3c660: [avalanche] Update the RTT algorithm on november 15
Branches
Unknown
Tags
Unknown