Skip to content

Commit

Permalink
ScriptPubKey: make bytes public
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Oct 19, 2021
1 parent 978546b commit cbda317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibWally/Script.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum WitnessType {
}

public struct ScriptPubKey : LosslessStringConvertible, Equatable {
var bytes: Data
public var bytes: Data

public var type: ScriptType? {
let bytes = UnsafeMutablePointer<UInt8>.allocate(capacity: self.bytes.count)
Expand Down

0 comments on commit cbda317

Please sign in to comment.