You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
* use txnbuild
* use horizonclient error types
* fix checkFundAccount which returned an invalid hProtocol.Account structure
It was invalid because it was fetch before it existed and therefore was incomplete.
* use client registered on APIServer instead of using default horizonclient
* fix formatting of txnbuild.CreditAsset struct instantiations
* distinguish equality methods in utils
* panic if we cannot create a delete offer operation
avoids threading errors through in this situation where really there should be no reason for an error from the delete offer op, althrough ideally we should thread the error through
* remove TODO in sdex.go#submitOps and add messages around errors
* fix float64 vs. stoops value string in manageSellOffer.Amount
* update log line from build.ManageOfferBuilder -> txnbuild.ManageSellOffer
* add string price in error message when attempting conversion to float
* convert horizon.Asset -> hProtocol.Asset
* remove last references to horizon.Client
* remove build and clients/horizon package from glide yaml and lock file
* use build package in API interfaces + undo glide removals
returnnil, fmt.Errorf("unexpected error when checking for existence of account %s for bot '%s': %s", address, botName, e)
205
+
}
206
+
207
+
returnnil, fmt.Errorf("horizon error when checking for existence of account %s for bot '%s': %d (%v) -- could this be caused because horizon has not ingested this data yet? (programmer: maybe create hProtocol.Account instance manually instead of fetching)", address, botName, herr.Problem.Status, *herr)
0 commit comments