moontreeapp / moontree

Primary Mono Repo
6 stars 5 forks source link

Fees Not Calculating #585

Closed lastmeta closed 2 years ago

lastmeta commented 2 years ago

Describe The Bug

Fees are not calculating in real world testing. Needs to be fixed.

lastmeta commented 2 years ago
1.0
I/flutter (32293): sendRequest SendRequest(sendAll: false, sendAddress: mrd3KKpr2xacayGHjAqgnYViHN9EazPSMH, holding: 101.0, visibleAmount: 1.0, sendAmountAsSats: 100000000, feeGoal: Instance of 'TxGoal', wallet: LeaderWallet(03d992f22d9e178a4de02e99ffffe885bd5135e65d183200da3b566502eca79342, a369f9aedee391232b6d5d19c5bd237646abb86ad5d2a9abb3a219eb4ea52974, {CipherType: AES, PasswordId: 0}, true), security: Security(symbol: MOONTREE2, securityType: SecurityType.RavenAsset), assetMemo: ?, memo: ?, note: ?)
I/flutter (32293): SEND REQUEST SendRequest(sendAll: false, sendAddress: mrd3KKpr2xacayGHjAqgnYViHN9EazPSMH, holding: 101.0, visibleAmount: 1.0, sendAmountAsSats: 100000000, feeGoal: Instance of 'TxGoal', wallet: LeaderWallet(03d992f22d9e178a4de02e99ffffe885bd5135e65d183200da3b566502eca79342, a369f9aedee391232b6d5d19c5bd237646abb86ad5d2a9abb3a219eb4ea52974, {CipherType: AES, PasswordId: 0}, true), security: Security(symbol: MOONTREE2, securityType: SecurityType.RavenAsset), assetMemo: ?, memo: ?, note: ?)
I/flutter (32293): sendRequest.assetMemo: null
I/flutter (32293): sendRequest.assetMemo?.base58Decode: null
3
I/flutter (32293): extimate.assetMemo: null
lastmeta commented 2 years ago

fixed a race condition that was causing this to happen all the time basically, and discovered it still happens when we haven't synced all the way yet, so we'll need to tell the user whats up. we made two other tickets for that see #591 #592, also the try except on returnAddress and in the receive screen should be abstracted to a function in a raven_back service.