Skip to content

Commit

Permalink
fix: return error on builder error (#321)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 authored Jan 18, 2025
1 parent 6898719 commit 35da682
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/tx/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,12 @@ func createTx(blockData any, nonce [16]byte) ([]byte, error) {
myAddress, _ := serAddress.DecodeAddress(bursa.PaymentAddress)
cc := NewCustomChainContext()
apollob := apollo.New(&cc)
apollob, _ = apollob.
apollob, err = apollob.
SetWalletFromBech32(bursa.PaymentAddress).
SetWalletAsChangeAddress()
if err != nil {
return nil, err
}

// Gather input UTxOs from our wallet
store.Lock()
Expand Down

0 comments on commit 35da682

Please sign in to comment.