Skip to content

Commit

Permalink
Merge pull request #12 from BitcoinSchema/expanded-a
Browse files Browse the repository at this point in the history
Expanded a
  • Loading branch information
rohenaz authored Nov 3, 2023
2 parents 182cf85 + b3e7d1c commit 13db51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func processInputs(inXputs []XPut, geneInputs []*bt.Input) ([]Input, error) {
return nil, err
}

if len(parts) == 2 {
if len(parts) == 2 || len(parts[1]) == 33 {
partHex := hex.EncodeToString(parts[1])
var a *bscript.Address
a, err = bscript.NewAddressFromPublicKeyString(partHex, true)
Expand Down

0 comments on commit 13db51f

Please sign in to comment.