Ignore error from txscript.PushedData
This commit is contained in:
parent
12e95e2790
commit
ca65f28ca1
1 changed files with 2 additions and 5 deletions
|
@ -188,11 +188,8 @@ func (b *GCSBuilder) AddScript(script []byte) *GCSBuilder {
|
|||
return b
|
||||
}
|
||||
|
||||
data, err := txscript.PushedData(script)
|
||||
if err != nil {
|
||||
b.err = err
|
||||
return b
|
||||
}
|
||||
// Ignore errors and add pushed data, if any
|
||||
data, _ := txscript.PushedData(script)
|
||||
return b.AddEntries(data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue