Skip to content

Commit

Permalink
fix: return error on builder error
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 committed Jan 18, 2025
1 parent 6898719 commit dd2e686
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/tx/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,13 @@ 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 {
store.Unlock()
return nil, err
}

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

0 comments on commit dd2e686

Please sign in to comment.