We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A withdrawal can be done simply by running something like:
client.platform.identities.withdrawCredits(identity, withdrawalAmount, { toAddress });
This error is returned: StateTransitionBroadcastError: Core fee per byte 0 must be part of fibonacci sequence and not less than 1]
StateTransitionBroadcastError: Core fee per byte 0 must be part of fibonacci sequence and not less than 1]
The following appears to work:
client.wallet.storage.getDefaultChainStore().state.fees.minRelay = 1000 client.platform.identities.withdrawCredits(identity, withdrawalAmount, { toAddress });
It appears minRelay in at least some cases is 0 (actually -0). This results in a value of -1 being returned as the coreFeePerByte here: https://github.com/dashpay/platform/blob/v1.4-dev/packages/js-dash-sdk/src/SDK/Client/Platform/methods/identities/creditWithdrawal.ts#L89-L94
minRelay
Run this with a valid identity, amount, and address:
The text was updated successfully, but these errors were encountered:
shumkov
No branches or pull requests
Expected Behavior
A withdrawal can be done simply by running something like:
Current Behavior
This error is returned:
StateTransitionBroadcastError: Core fee per byte 0 must be part of fibonacci sequence and not less than 1]
Possible Solution
The following appears to work:
It appears
minRelay
in at least some cases is 0 (actually -0). This results in a value of -1 being returned as the coreFeePerByte here: https://github.com/dashpay/platform/blob/v1.4-dev/packages/js-dash-sdk/src/SDK/Client/Platform/methods/identities/creditWithdrawal.ts#L89-L94Steps to Reproduce (for bugs)
Run this with a valid identity, amount, and address:
Context
Your Environment
The text was updated successfully, but these errors were encountered: