diff --git a/rpcserver.go b/rpcserver.go index deea4e00c2..405a67a952 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -798,6 +798,7 @@ func handleCreateRawSStx(s *rpcServer, cmd interface{}, closeChan <-chan struct{ // server is currently on. switch addr.(type) { case *dcrutil.AddressPubKeyHash: + case *dcrutil.AddressScriptHash: default: return nil, rpcAddressKeyError("Invalid address type: "+ "%T", addr)