BOXFoundation / boxd

Blockchain for BOX Payout
MIT License
40 stars 10 forks source link

Bug: received amount larger than sent amount #229

Closed xhliu closed 5 years ago

xhliu commented 5 years ago

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

  1. Run integration tests to send traffic to testnet
  2. Blocks reached 5K, maybe a factor. Or not.
    INFO[0283] fromAddr[b1m4bYJpv3wzzYaNkgXhNh4b3Hs5LASod73] balance: 8486078 toAddr[b1fT3V3eh3RXHwDRwrRDFQrfswdv3E4AdDm] balance: 103165905  source="integration_tests/circulation.go:186" tag=integration
    ERRO[0283] txRepeatTest faild: fromGap 93682576 toGap 103165905 transfer 103165905 and fee 50714  source="integration_tests/circulation.go:195" tag=integration
    INFO[0283] --- DONE: txRepeatTest                        source="integration_tests/circulation.go:197" tag=integration

Context (Environment)

Commit: 4b7c1e76c5a311632746662a15b4f5891f54e7a8

Detailed Description

Possible Implementation

Jerick26 commented 5 years ago

fixed in 43b2e0d32b004294618da80a7bee3d808a5c4ad5