aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/args.go b/rpc/args.go
index b43c465c0..df57e69c4 100644
--- a/rpc/args.go
+++ b/rpc/args.go
@@ -198,7 +198,7 @@ func (args *NewTxArgs) UnmarshalJSON(b []byte) (err error) {
var num int64
if ext.Value == nil {
- return NewValidationError("value", "is required")
+ num = 0
} else {
if err := numString(ext.Value, &num); err != nil {
return err