Skip to content

Commit

Permalink
Merge pull request #11 from netuoso/add-more-padding-to-delegation
Browse files Browse the repository at this point in the history
Add a little more padding to delegation amount due to reported failures in Vessel
  • Loading branch information
jnordberg committed Nov 9, 2017
2 parents 30e99be + 4dd16f3 commit 2db1f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/broadcast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class BroadcastAPI {

const targetDelegation = sharePrice
.convert(creationFee.multiply(modifier * ratio))
.add('0.000001 VESTS') // add a tiny buffer since we are trying to hit a moving target
.add('0.000002 VESTS') // add a tiny buffer since we are trying to hit a moving target

if (delegation !== undefined && fee === undefined) {
delegation = Asset.from(delegation, 'VESTS')
Expand Down

0 comments on commit 2db1f09

Please sign in to comment.